Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nodestrap/basic

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodestrap/basic

A basic building block with standard stylesheet of nodestrap components.

  • 4.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

<Basic />

A basic building block with standard stylesheet of nodestrap components.
This is a themed generic element for the base of Nodestrap components.

Preview

<Basic tag='span' theme='primary' size='lg' gradient={true} outlined={true} >
    hello world
</Basic>

Rendered to:

<span class="c1 thPrimary szLg gradient outlined">
    hello world
</span>

Features

  • Includes all features in <Element />.
  • 3 size variants: small (sm), normal (unset), large (lg).
  • Themeable (default themes are: primary, secondary, success, info, warning, danger, dark & light).
  • Normal mode (background color as theme color and contrast text color).
  • Gradient mode (semi 3D view).
  • Outlined mode (transparent view with contrast borders).
  • Mild mode (smooth background color near to page's background and strong text color).
  • Nice borders, border radius and paddings (based on it's size, theme and mode).
  • Dynamic theming. All theming stuff based on css variables, no compilation required after modification.
  • Theming is customizable & shared to another Nodestrap based components (via css variables).
  • Written with TypeScript (superset of JavaScript) & compiled to ES6 module.
  • IntelliSense supported.

Installation

Using npm:

npm i @nodestrap/basic

Support Us

If you feel our lib is useful for your projects,
please make a donation to avoid our project from extinction.

We always maintain our projects as long as we're still alive.

[Make a donation]

Keywords

FAQs

Package last updated on 26 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc